package com.woniu.cq.mallproduct.client;

import com.woniu.cq.feign.FeignConfig;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.*;

/**
 * @author Daniel
 * @version 1.0.0
 * @ClassName OrderClient
 * @Description TODO
 * @createTime 2020年09月19日 00:19:00
 */
@FeignClient(value = "mall-order",configuration = FeignConfig.class)
public interface OrderClient {
    /** 
     * @description:  
     * @param:  userId
     * @return: com.woniu.cq.mallproduct.common.Result 
     */
    @GetMapping("/order/createOrder")
    int createOrder(@RequestParam("userId") Integer userId);

}
